home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
ddj0897.zip
/
CCDBMS.ZIP
/
ORACLE.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-03-18
|
2KB
|
49 lines
// =================================================================
// Oracle.h
// =================================================================
// Harold Kasperink / John Dekker
// Dr. Dobb's Journal 1997
// =================================================================
// Oracle PrcC/C++ function headers
// =================================================================
#ifndef _ORACLE_H_
#define _ORACLE_H_
////////////////////////////////////////////////////////////////////
// DB_Connect
////////////////////////////////////////////////////////////////////
// Connect with database session to oracle
// with username/password@server in pszUsr
////////////////////////////////////////////////////////////////////
long DB_Connect(const char *pszUsr);
////////////////////////////////////////////////////////////////////
// DB_Disconnect
////////////////////////////////////////////////////////////////////
// Disconnect from oracle
////////////////////////////////////////////////////////////////////
long DB_Disconnect();
////////////////////////////////////////////////////////////////////
// DB_Commit
////////////////////////////////////////////////////////////////////
// Commit transaction for database session
////////////////////////////////////////////////////////////////////
long DB_Commit(void *pCmd);
////////////////////////////////////////////////////////////////////
// DB_Rollback
////////////////////////////////////////////////////////////////////
// Rollback transaction for database session
////////////////////////////////////////////////////////////////////
long DB_Rollback(void *pCmd);
////////////////////////////////////////////////////////////////////
// DB_FindPerson
////////////////////////////////////////////////////////////////////
// Find a if person exists in the database
////////////////////////////////////////////////////////////////////
extern long DB_FindPerson(void *pCmd, char *pszFirstName, char *pszLastName);
#endif